GetStylHandle
GetStylHandle Obtain a handle to a TEStyleRec
#include <TextEdit.h> TextEdit
TEStyleHandle GetStylHandle(hTE );
TEHandle hTE ; edit record of interest
returns handle leading to a TEStyleRec (or 0)
GetStylHandle obtains the handle that is stored at offset 74 of an
edit record. On old-format edit records, this function returns NIL (0).
hTE is a handle leading to an edit record created via TENew or
Returns: TEStyleHandle: a handle to the variable-length TEStyleRec structure
that is currently active for the edit record or it will return NIL (0)
if hTE is an old-format edit record.

Notes: Use GetStylHandle if you wish to modify data in a TEStyleRec
directly, or obtain information unavailable through normal system
functions. Use double in direction to access the style information:
TEStyleHandle hStyle;
hStyle = GetStylHandle( myEditRec );
(*hStyle)->teRefCon = 'DanR';